{% load future wenlincms_tags wlcore_tags report_tags %}
<h1 class="pdf-headtitle">七、资产交易</h1>
<div class="pdf-divbox">
      <h2 class="pdf-secondtitle">6.1 商标信息</h2>
    {% if  el_tminfo %}
        <table class="pdf-table">
            <thead>
            <tr>
                <th style="width: 20px;"></th>
                <th width="80">商标名称</th>
                <th width="60">注册日期</th>
                <th width="120">代理人</th>
                <th width="60">商标类型</th>
                <th width="50">商标状态</th>
            </tr>
            </thead>
            <tbody>
            {% for res in el_tminfo %}
                <tr>
                    <td class="pdf-counter">{{ forloop.counter }}</td>
                    {% if res.TMCN %}
                        <td>{{ res.TMCN|elweizhi }}</td>
                    {% else %}
                        <td>{{ res.TMEN|elweizhi }}</td>
                    {% endif %}
                    <td>{{ res.RegDate|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.TMAgent|elweizhi }}</td>
                    <td>{{ res.get_TMType_display|elweizhi }}</td>
                    <td>{{ res.TMStatus|elweizhi }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>


<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.2 著作权信息</h2>
    {% if  zzq_objs %}
        {% for res in zzq_objs %}
            <table class="pdf-table pdf-table-list">
                <tr>
                    <th style="width: 20px;"></th>
                    <th style="width: 100px;">公告日期</th>
                    <th style="width: 150px;">作品名称</th>
                    <th style="width: 120px;">分类号</th>
                    <th style="width: 120px;">著作权人</th>
                    <th colspan="2">软件全称:</th>
                </tr>
                <tr>
                    <td rowspan="3" class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.ggrq|elfbztbdate }}</td>
                    <td>{{ res.zpmc|elweizhi }}</td>
                    <td>{{ res.flh|elweizhi }}</td>
                    <td>{{ res.zzqr|elweizhi }}</td>
                    <td colspan="2">{{ res.rjqc|elweizhi }}</td>
                </tr>
                <tr>
                    <th>软件简称:</th>
                    <th>登记日期:</th>
                    <th>登记号:</th>
                    <th>公告类型:</th>
                    <th style="width: 120px;">首次发表日期:</th>
                    <th>版本号:</th>
                </tr>
                <tr>
                    <td>{{ res.rjjc|elweizhi }}</td>
                    <td>{{ res.djrq|elfbztbdate }}</td>
                    <td>{{ res.djh|elweizhi }}</td>
                    <td>{{ res.gglx|elweizhi }}</td>
                    <td>{{ res.fbrq|elfbztbdate }}</td>
                    <td>{{ res.bbh|elweizhi }}</td>
                </tr>
            </table>
        {% endfor %}
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.3 专利信息</h2>
    {% if  el_patents %}
     <table class="pdf-table pdf-table-list">
            <tr>
                <th style="width: 20px;"></th>
                <th style="width: 100px;">专利号</th>
                <th style="width: 100px;">专利名</th>
                <th style="width: 100px;">申请日期</th>
                <th style="width: 100px;">代理机构</th>
            </tr>
            {% for res in el_patents %}
            <tr>
                <td rowspan="5" class="pdf-counter">{{ forloop.counter }}</td>
                <td>{{ res.pid.sqh|elweizhi }}</td>
                <td>{{ res.pid.patname|elweizhi }}</td>
                <td>{{ res.pid.sqrq|elweizhi }}</td>
                <td>{{ res.pid.zldljg|elweizhi }}</td>
            </tr>
            <tr>
                <th>申请人</th>
                <th>范畴分类</th>
                <th>引证文献</th>
                <th>优先权</th>
            </tr>
            <tr>
                <td>{{ res.pid.sqr|elweizhi }}</td>
                <td>{{ res.pid.fcfl|elweizhi }}</td>
                <td>{{ res.pid.yzwx|elweizhi }}</td>
                <td>{{ res.pid.yxq|elweizhi }}</td>
            </tr>
            <tr>
                <td>主权项</td>
                <td colspan="5">{{ res.pid.zqx|elweizhi }}</td>
            </tr>
            <tr>
                <td>摘要</td>
                <td colspan="5">{{ res.pid.zy|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.4 土地信息</h2>
    {% if  land_objs %}
        {% for res in land_objs %}
            <table class="pdf-table">
                <tr>
                    <th style="width: 20px;"></th>
                    <th style="width: 120px;">行政区</th>
                    <th style="width: 120px;">标题</th>
                    <th style="width: 120px;">土地用途</th>
                    <th style="width: 120px;">面积(公顷)</th>
                    <th style="width: 120px;">成交价(万元)</th>
                    <th>出让年限</th>
                </tr>
                <tr>
                    <td rowspan="14" class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.qjx|elweizhi }}</td>
                    <td>{{ res.title|elweizhi }}</td>
                    <td>{{ res.tdyt|elweizhi }}</td>
                    <td>{{ res.tdmj|elweizhi }}</td>
                    <td>{{ res.cjjg|elweizhi }}</td>
                    <td>{{ res.crnx|elweizhi }}</td>
                </tr>
                <tr>
                    <th>公告类别:</th>
                    <th>公示期:</th>
                    <th>单位地址:</th>
                    <th>受让单位:</th>
                    <th>地块位置:</th>
                    <th>宗地编号:</th>
                </tr>
                <tr>
                    <td>{{ res.gglb|elweizhi }}</td>
                    <td>{{ res.gsq|elweizhi }}</td>
                    <td>{{ res.dwdz|elweizhi }}</td>
                    <td>{{ res.srdw|elweizhi }}</td>
                    <td>{{ res.dkwz|elweizhi }}</td>
                    <td>{{ res.zdbh|elweizhi }}</td>
                </tr>
                <tr>
                    <th>联系人:</th>
                    <th>联系单位:</th>
                    <th>联系电话:</th>
                    <th>Email:</th>
                    <th>邮政编码:</th>
                    <th>备注:</th>
                </tr>
                <tr>
                    <td>{{ res.lxr|elweizhi }}</td>
                    <td>{{ res.lxdw|elweizhi }}</td>
                    <td>{{ res.lxdh|elweizhi }}</td>
                    <td>{{ res.email|elweizhi }}</td>
                    <td>{{ res.postcode|elweizhi }}</td>
                    <td>{{ res.bz|elweizhi }}</td>
                </tr>
            </table>
        {% endfor %}
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.5 动产抵押信息</h2>
    {% if  el_morts %}
        <table class="pdf-table">
            <thead>
            <tr>
                <th style="width: 20px;"></th>
                <th style="width: 80px;">登记证号</th>
                <th style="width: 70px;">抵押权人</th>
                <th style="width: 70px;">登记机关</th>
                <th style="width: 70px;">登记日期</th>
                <th style="width: 70px;">状态标识</th>
                <th>被担保范围</th>
                <th style="width: 70px;">被担保主债权数额(万元)</th>
                <th style="width: 70px;">履约起始日期</th>
                <th style="width: 70px;">履约截止日期</th>
                <th style="width: 70px;">注销日期</th>
            </tr>
            </thead>
            <tbody>
            {% for res in el_morts %}
                <tr>
                    <td class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.MORREGCNO|elweizhi }}</td>
                    <td>{{ res.MORTGAGOR|elweizhi }}</td>
                    <td>{{ res.REGORG|elweizhi }}</td>
                    <td>{{ res.REGIDATE|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.get_MORTYPE_display|elweizhi }}</td>
                    <td>{{ res.the_claim.WARCOV|elweizhi }}</td>
                    <td>{{ res.the_claim.PRICLASECAM|elweizhi }}</td>
                    <td>{{ res.the_claim.PEFPERFORM|date:"Y-m-j"|elweizhi }}</td>
                    <td>{{ res.the_claim.PEFPERTO|date:"Y-m-j"|elfloat:1|elweizhi }}</td>
                    <td>{{ res.CANDATE|date:"Y-m-j"|elweizhi }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.6 动产抵押物信息</h2>
    {% if  el_mort_guas %}
        <table class="pdf-table">
            <thead>
            <tr>
                <th style="width: 20px;"></th>
                <th style="width:200px;">抵押物名称</th>
                <th style="width:200px;">所有权属</th>
                <th>抵押物描述</th>
            </tr>
            </thead>
            <tbody>
            {% for res in el_mort_guas %}
                <tr>
                    <td class="pdf-counter">{{ forloop.counter }}</td>
                    <td>{{ res.GUANAME|elweizhi }}</td>
                    <td>{{ res.OWN|elweizhi }}</td>
                    <td>{{ res.GUADES|elweizhi }}</td>
                </tr>
            {% endfor %}
            </tbody>
        </table>
    {% else %}
        <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>
